/*
Theme Name: Кукуевский район - Terra SP theme
Template: terra-sp
Theme URI: http://terra.spb.ru
Author: the Terra team
Author URI: http://terra.spb.ru
Description: Всем респект, пацаны, ёба!
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
Text Domain: twentytwelve

This theme, like WordPress, is licensed under the GPL. - ?!!! O Rly?
*/

/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u,
i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table,
caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details,
embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
body {
	line-height: 1; /* !!! */
}
ol,
ul {
	list-style: none;
}
blockquote,
q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: thin dotted;  /* !!! */
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;  /* !!! */
}
/* del { color: #333; } !!! */
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	border: 0;
	margin:0;
	padding:0;
	height: 1px;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
	display: table;
	content: "";
}


/* Злементы форм, картинки и мультимедиа
-------------------------------------------------------------- */

/* Элементы форм */
button,
input,
textarea {
	padding: 6px 10px;
	font-family: inherit;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 3px;

}
button,
input {
    line-height: normal;
}
textarea {
	font-size: 100%;
	overflow: auto;
	vertical-align: top;
}

/* Сброс НЕ текстовых инпутов */
input[type="checkbox"],
input[type="radio"],
input[type="file"],
input[type="hidden"],
input[type="image"],
input[type="color"] {
	border: 0;
	border-radius: 0;
	padding: 0;
}

/* Кнопки */
input[type="submit"],
input[type="button"],
input[type="reset"] {
	padding: 6px 10px 5px;
	font-size: 12px;
	color: #7c7c7c;
	background-color: #f0f0f0;
	border: 1px solid #d2d2d2;
	border-radius: 3px;
}
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	cursor: pointer;
}
button[disabled],
input[disabled] {
    cursor: default;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
	color: #5e5e5e;
	background-color: #e5e5e5;
}
button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
	color: #757575;
	background-color: #d5d5d5;
}

/* Почему масштабирование задаётся так сложно - я хз. К тому же в ие7 один хрен не пашет... */
/* Responsive images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Масштабируемые картинки для сайта */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Явное масштабирование для картинок с заданным вордпрессом height */
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Явное масштабирование для картинок с заданным вордпрессом height */
}

/* Явное растяжение контейнеров для медиавключений */
embed, iframe, object, video {max-width: 100%;}
.entry-content .twitter-tweet-rendered {max-width: 100% !important; /* Преписывает включение блока твитов фиксированной величины */}

/* Выравнивания */
.alignleft { float: left; }
.alignright { float: right; }
.aligncenter { display: block;	margin-left: auto;	margin-right: auto; }

/* Картинки на всём сайте */
.entry-content img, .comment-content img,
.widget img, img.header-image, .author-avatar img,
img.wp-post-image { /* border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); */}

/* Родная галлерея ВП */
/*
.wp-caption {
	max-width: 100%;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-style: italic;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #757575;
}
img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.entry-content dl.gallery-item {
	margin: 0;
}
.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-item a {
	display: block;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}
*/


/*
--bookmark-- Навигация в странице ранний-поздний 
*/
.nav-previous {}
.nav-previous:hover {}
.nav-next {}
.nav-next:hover {}

.site-content .post-navigation {
	clear:both; overflow: hidden;
	padding: 14px 24px;
	background:#f3f3f3;
}
#nav-above, #nav-below, .nav-single {}

.site-content .post-navigation .assistive-text{display:none}
.site-content .post-navigation div{}
.site-content .post-navigation a {}
.site-content .post-navigation a:hover {}

.paged #nav-above { display: block; }
.nav-previous, .previous-image { width: 45%; float: left; }
.nav-next, .next-image { width: 45%; float: right; text-align: right; }
.nav-single + .comments-area, #comment-nav-above { margin: 48px 0; }


/* Профиль автора - !!! Почти не пользуем*/
/*
.author .archive-header {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.author-info {
	border-top: 1px solid #ededed;
	margin: 24px 0;
	margin: 1.714285714rem 0;
	padding-top: 24px;
	padding-top: 1.714285714rem;
	overflow: hidden;
}
.author-description p {
	color: #757575;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
}
.author.archive .author-info {
	border-top: 0;
	margin: 0 0 48px;
	margin: 0 0 3.428571429rem;
}
.author.archive .author-avatar {
	margin-top: 0;
}
*/


/* Структура 
-------------------------------------------------------------- */

/* ----------------------------------------------------------- */
/*                         Кастомить здесь!!!
/* ----------------------------------------------------------- */


/* Body, ссылки и основное */
/*
--bookmark-- Обще настройки
-------------------------------------------------------------- */
html {
	font-size: 87.5%; /* Задает базовый размер шрифта 14px ( 100% = 16px )*/
}
body {
	font-size: 14px;
	font-size: 1rem;
	font-family: Helvetica, Arial, sans-serif;
	text-rendering: optimizeLegibility;
	color: #444;
	background:#fff;
}

a { color:#06c; line-height:1.3em;}
a:hover { color:#c30;}
a, a:hover, a:active, a:visited{ outline-color:#999 }

h1, h2, h3, h4, h5, h6 {
	margin-bottom:24px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-weight:normal;
	line-height:1.3em;
	color:#777;
}
p {
	margin-bottom:24px;
	line-height:1.3em
}



/* Структура страницы
-------------------------------------------------------------- */
body {}
		#page.site {margin-top: 0;}
	.home #page.site {margin-top: 10px;}
		#pag-header.site-header {}
		#main.wrapper {background: url(img/main-bg.png) bottom center no-repeat; padding-bottom: 100px;}
			#menu-and-message.widget-area {}
			#primary.site-content {}
				#content {}
					article {}
			#secondary.widget-area {}
		#page-footer.site-footer {}

.site {
  	
	margin: 0 auto;
	width: 1040px; /* 960px + 40px*2 маржынги внутренних элементов */
//	background:#f9f9f9;
	box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}

.home .site {
  	box-shadow: none;
	margin: 0 auto;
	width: 1040px; /* 960px + 40px*2 маржынги внутренних элементов */

}
/*
--bookmark--  Хедер сайта
-------------------------------------------------------------- */
.site-header {
  	position: relative;
	margin:0; padding:13px 40px 0;
	background:#fff url(./img/head-bg.png) center top no-repeat;
  	height: 152px;
}

/* --> Краткое меню, приклеенное к верху страницы. */
#page-header-light-wrapper{
	position:fixed; top:0; left:0; z-index:1000;
	width:100%;
	display:none;
	padding:0;
	background: #124b32;
}
#page-header-light{ width:1040px; margin:0 auto;}
#page-header-light .arms { display:block; float:left; padding:5px 5px 0}
#page-header-light .arms img{ width:auto; height:40px; } /* Фиксы для тупых ИЕ */

#page-header-light #searchform{ float:right; padding:10px 0;}
#page-header-light #searchform label{ display:none }
#page-header-light #searchform #s{ width:250px }

#page-header-light .main-navigation {}
#page-header-light .main-navigation li { float:left }
#page-header-light .main-navigation a { display:block; font-size:18px; padding:15px 20px; color: #fff; text-decoration: none;}
#page-header-light .main-navigation a:hover {color: #6ad065;} 
/* <-- Краткое меню, приклеенное к верху страницы. */
	
.column {border:0px solid #f00;}
	
/* Блок герба */
.site-header .arms { float:left; margin-top:7px; height:130px; }
.site-header .arms img{ width:114px; height:auto; margin-bottom:14px;}
	
/* Блок заголовков */
#hgroup{position: absolute; text-align: right; float:right; width:460px; margin-left:150px;}
	#hgroup h1, #hgroup h2{ color: #fff; margin-bottom:7px;}
	#hgroup h1 { font-size:26px; }
	#hgroup h2 { font-size:18px; }
	#hgroup h1 a {color: #fff; text-decoration: none; text-shadow: 1px 1px 2px black; /*0 0 1em red;*/}

/* Виджет в шапке. - !!! Пока не виджет )) */
#header-widget{ float:right; width:350px; text-align:right;}
	
	#three-button {margin-bottom: 12px;}
	#three-button a { display:inline-block; border:0px solid #859; width:32px; height:16px; overflow:hidden}
	#three-button a img{ margin:0 auto; display:block }
	#three-button a:hover img{ margin-top:-16px; }

	#header-widget .address{color: #fff; margin-left: 111px;}
	#header-widget .phone{color: #fff; margin-top: 5px; margin-left: 125px;}
	#header-widget .day{display:none}
	#header-widget .time{display:none}
	#header-widget .date{ font-size:16px; margin-bottom:7px; margin-top:50px; color: #fff;}
	
#offsite { display:none }
/*
-------------------------------------------------------------- */
/* Хедер сайта -- Конец */



/* 
--bookmark--   Главная навигация
-------------------------------------------------------------- */
#menu-and-message { padding:0 24px; min-height:45px; background: url(./img/menu1-bg.png) center top no-repeat; margin-bottom: 10px;}
.menu-glavnoe-menyu-container { width:660px;}
#menu-and-message .menu {}
#menu-and-message .menu li { float:left; background: #B6694C; margin-right: 4px; border: 2px solid #461808;
border-radius: 0 0 15px 15px; border-top: none; }
#menu-and-message .menu li:hover {background: url(./img/but-bg.png) repeat-x; border-color:#cd603a;}
#menu-and-message .menu a { color: #fff; font-size:18px; padding:3px 20px 8px; display:block; text-decoration:none;}
#menu-and-message .menu a:hover {}

/* Форма поиска */
#menu-and-message #searchform{ float:right; padding:0px 10px;}
#menu-and-message #searchform label{ display:none}
#menu-and-message #searchform #s{ width:250px}
/* Кнопка "Найти" */
#menu-and-message #searchform input[type="submit"] {}
#menu-and-message #searchform input[type="submit"]:hover {}
#menu-and-message #searchform input[type="submit"]:active {}



/*
--bookmark--  Футер сайта 
-------------------------------------------------------------- */
.site-footer{
	padding:17px 40px; height: 130px; margin-bottom: 20px;
	background:#9aa0a9;
}
#foot-info {
  		position: absolute;
  		background: #fff;
		margin-top: -27px;
		border: 2px solid #9aa0a9;
		border-radius: 10px;
			-moz-border-radius: 10px;
			-webkit-border-radius: 10px;
		height: 160px;
		width: 300px;
		padding: 10px;
	}
#foot-info a {color: #000; text-decoration: none; }

.site-footer a{}
.site-footer a:hover{}

.site-footer .arms{display:block; float:left; height: 90px;}
.site-footer .arms img{ width:70px; height:auto; margin-right: 10px;
}

.site-footer .site-info{ float:left; margin-left:14px}
			 .site-info div{margin-bottom:7px;}
			 .site-info .off-site, .site-info .address, .site-info .phone{ font-size:12px}
			 .site-info .site-title{ font-size:18px; margin-bottom:14px}

.site-footer .developer-info{ float:right; text-align:right}
			 .developer-info div{margin-bottom:7px}
			 
			 .developer-info .meta-block{ margin-bottom:24px}
			 .developer-info .dev-name{ font-size:18px;}

.site-footer p{}	



/* 
--bookmark--   Контент поста
-------------------------------------------------------------- */

.site-content{ margin:0 40px}

/* Блок поста */
.site-content article {
	margin:0 0 24px; padding:0;
	border-bottom:1px dotted #ccc
}
/* Блок заголовка поста */
.entry-header { margin-bottom:24px; }

/* Заголовок поста */
.entry-header h1.entry-title {font-size:22px;}
.entry-header h3.entry-title {font-size:18px;}

/* Хлебные крошки */
.entry-header .pttm-breadcrumbs { margin-top:-17px; font-size:12px; line-height:1.3em; color:#999;}
.entry-header .pttm-breadcrumbs a {}
.entry-header .pttm-breadcrumbs a:hover {}
/* Всякая чушь */
.entry-header .entry-title a {}
.entry-header .entry-format {}
.entry-header .comments-link {}
/* Метаданные поста */
footer.entry-meta{ display:none }
div.entry-meta{ margin:-17px 0 24px; font-size:12px; color:#999;}
.comments-link a, .entry-meta a {}
.comments-link a:hover, .entry-meta a:hover {}
/* Приклеенные посты */
article.sticky .featured-post {}

/* Элементы контента */
.entry-content, .entry-summary{}

/* Заголовки в контенте + Заголовки комментариев, чтоб одинаково было*/
.entry-content h1, .comment-content h1,
.entry-content h2, .comment-content h2,
.entry-content h3, .comment-content h3,
.entry-content h4, .comment-content h4,
.entry-content h5, .comment-content h5,
.entry-content h6, .comment-content h6 {
	margin-bottom:14px;
}
.entry-content h1, .comment-content h1 {font-size: 22px;}
.entry-content h2, .comment-content h2 {font-size: 20px;}
.entry-content h3, .comment-content h3 {font-size: 18px;}
.entry-content h4, .comment-content h4 {font-size: 16px;}
.entry-content h5, .comment-content h5 {font-size: 14px;}
.entry-content h6, .comment-content h6 {font-size: 12px;}

/* Параграфы (Контент + Комменты) */
.entry-content p, .entry-summary p, .comment-content p { margin: 0 0 1em; }

/* Списки (Контент + Комменты) */
.entry-content ol, .comment-content ol,
.entry-content ul, .comment-content ul {
	margin: 0 0 1em;
}
.entry-content ul ul, .comment-content ul ul,
.entry-content ol ol, .comment-content ol ol,
.entry-content ul ol, .comment-content ul ol,
.entry-content ol ul, .comment-content ol ul {
	margin-bottom: 0;
}
.entry-content ul, .comment-content ul {
	list-style: disc outside;
}
.entry-content ol, .comment-content ol {
	list-style: decimal outside;
}
.entry-content li, .comment-content li {
	margin: 0 0 7px 36px;
}

/* Цитаты, код, преформат (Контент + Комменты) */
.entry-content blockquote, .comment-content blockquote {
	margin:0 0 1em;	padding: 24px;
	font-style: italic;
}
.entry-content blockquote p:last-child, .comment-content blockquote p:last-child {
	margin-bottom: 0;
}
.entry-content code, .comment-content code {
	font-family: Consolas, Monaco, Lucida Console, monospace;
}
.entry-content pre, .comment-content pre {
	margin: 24px 0; padding: 24px;
	border: 1px solid #ededed;
	font-family: Consolas, Monaco, Lucida Console, monospace;
	overflow: auto;
}
.entry-content pre code, .comment-content pre code {
	display: block;
}

/* Аббревиатуры (Контент + Комменты) */
.entry-content abbr, .comment-content abbr,
.entry-content dfn, .comment-content dfn,
.entry-content acronym, .comment-content acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

/* Адрес - Бестолковый тег (Контент + Комменты) */
.entry-content address, .comment-content address {
	display: block;
	margin: 0 0 24px;
}

/* Картинки, медиавставки */
.entry-content img { border:4px solid #fff; box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);}

img.alignleft {
	margin: 4px 24px 20px 0;
}
img.alignright {
	margin: 4px 0 20px 24px;
}
img.aligncenter {
	margin-top: 4px;
	margin-bottom: 20px;
}
.entry-content embed,
.entry-content iframe,
.entry-content object,
.entry-content video {
	margin: 0 0 24px;
}

/* Определения (Контент + Комменты) */
.entry-content dl, .comment-content dl {
	margin: 0 24px;
}
.entry-content dt, .comment-content dt {
	font-weight: bold;
}
.entry-content dd, .comment-content dd {
	margin-bottom: 24px;
}

/* Таблицы */
.entry-content table, .comment-content table {
	margin: 0 0 24px;
	width: 100%;
}
.entry-content table caption, .comment-content table caption {
	font-size: 16px;
	margin: 24px 0;
}
.entry-content td, .comment-content td {
	border-top: 1px solid #ededed;
	padding: 6px 10px;
}


/*
--bookmark--  Супердив - Блок загруженных файлов
-------------------------------------------------------------- */

.pttm-attachments-block { background:#f3f3f3; padding:7px 24px 14px; margin-bottom:24px}
.pttm-attachments-block a { margin-right:12px;}

.pttm-attachments-block .label{}

.pttm-attachments-block img {
	background:none; box-shadow:none; border-radius:0; border:none;
	width:32px; height:auto; margin:0 6px -12px 0;
}


.pttm-document-status-block { padding:7px 24px; margin-bottom:24px}
.pttm-document-status-block table {margin-bottom:0}
.pttm-document-status-block table td{border:0px solid #e0e0e0; padding:4px 5px}
.pttm-document-status-block .label{ width:170px; padding-left:0; padding-right:0; text-align:right; font-size:12px; font-weight:bold}
.pttm-document-status-block .value{ vertical-align:middle; padding-left:12px; }


/*
--bookmark--  Архивы постов
-------------------------------------------------------------- */

.archive-header,
.page-header {
	margin: 0 0 24px;
	padding: 24px 0;
	border-top: 1px dotted #ccc;
	border-bottom: 1px dotted #ccc;
}
.archive-header h1, .page-header h1 { font-size:22px; margin-bottom:0 }
.archive-header h1 span, .page-header h1 span{ font-size:18px; color:#999; }

.archive-meta { display:none }



/* Страницы аттачментов
-------------------------------------------------------------- */

.article.attachment {}
.image-attachment div.attachment {}
.image-attachment div.attachment p {}
.image-attachment div.attachment img {}
.image-attachment .entry-caption {}





/* Шаблон комментариев - !!! Пока не используем
-------------------------------------------------------------- */
/*
.comments-title {
	margin: 0 0 24px;
	font-weight: normal;
}
.comments-area article {
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
.comments-area article header {
	margin: 0 0 48px;
	margin: 0 0 3.428571429rem;
	overflow: hidden;
	position: relative;
}
.comments-area article header img {
	float: left;
	padding: 0;
	line-height: 0;
}
.comments-area article header cite,
.comments-area article header time {
	display: block;
	margin-left: 85px;
	margin-left: 6.071428571rem;
}
.comments-area article header cite {
	font-style: normal;
	font-size: 15px;
	font-size: 1.071428571rem;
	line-height: 1.42857143;
}
.comments-area article header time {
	line-height: 1.714285714;
	text-decoration: none;
	font-size: 12px;
	font-size: 0.857142857rem;
	color: #5e5e5e;
}
.comments-area article header a {
	text-decoration: none;
	color: #5e5e5e;
}
.comments-area article header a:hover {
	color: #21759b;
}
.comments-area article header cite a {
	color: #444;
}
.comments-area article header cite a:hover {
	text-decoration: underline;
}
.comments-area article header h4 {
	position: absolute;
	top: 0;
	right: 0;
	padding: 6px 12px;
	padding: 0.428571429rem 0.857142857rem;
	font-size: 12px;
	font-size: 0.857142857rem;
	font-weight: normal;
	color: #fff;
	background-color: #0088d0;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #009cee, #0088d0);
	background-image: -ms-linear-gradient(top, #009cee, #0088d0);
	background-image: -webkit-linear-gradient(top, #009cee, #0088d0);
	background-image: -o-linear-gradient(top, #009cee, #0088d0);
	background-image: linear-gradient(top, #009cee, #0088d0);
	border-radius: 3px;
	border: 1px solid #007cbd;
}
.comments-area li.bypostauthor cite span {
	position: absolute;
	margin-left: 5px;
	margin-left: 0.357142857rem;
	padding: 2px 5px;
	padding: 0.142857143rem 0.357142857rem;
	font-size: 10px;
	font-size: 0.714285714rem;
}
a.comment-reply-link,
a.comment-edit-link {
	color: #686868;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
}
a.comment-reply-link:hover,
a.comment-edit-link:hover {
	color: #21759b;
}
.commentlist .pingback {
	line-height: 1.714285714;
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
*/



/* Форма комментирования */
/*
#respond {
	margin-top: 48px;
	margin-top: 3.428571429rem;
}
#respond h3#reply-title {
	font-size: 16px;
	font-size: 1.142857143rem;
	line-height: 1.5;
}
#respond h3#reply-title #cancel-comment-reply-link {
	margin-left: 10px;
	margin-left: 0.714285714rem;
	font-weight: normal;
	font-size: 12px;
	font-size: 0.857142857rem;
}
#respond form {
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
#respond form p {
	margin: 11px 0;
	margin: 0.785714286rem 0;
}
#respond form p.logged-in-as {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
#respond form label {
	display: block;
	line-height: 1.714285714;
}
#respond form input[type="text"],
#respond form textarea {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.714285714;
	padding: 10px;
	padding: 0.714285714rem;
	width: 100%;
}
#respond form p.form-allowed-tags {
	margin: 0;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #5e5e5e;
}
.required {
	color: red;
}
*/

/* 
-------------------------------------------------------------- */
/* 		Всякие разности
-------------------------------------------------------------- */


/* Боковые и не только колонки с виджетами
-------------------------------------------------------------- */

.widget-area { padding:24px 40px}

.widget-area .widget {}
.widget h1, .widget h2, .widget h3, .widget h4, .widget h5, .widget h6 {}
.widget-area .widget p, .widget-area .widget li, .widget-area .widget .textwidget {}
.widget-area .widget p {}
.widget-area .textwidget ul {}
.widget-area .textwidget li {}
.widget-area .widget a {}
.widget-area .widget a:hover {}
.widget-area #s {}




/* Суперглавная
-------------------------------------------------------------- */
/* .home #menu-and-message { display:none} /* Скрываем главное меню под шапкой, например */
.home .widget-area {}


.front-page-widget{border:0px solid #987;}

.front-page-widget.pttm_post_widget { width:690px; float:left;}
.pttm_post_widget article{border-bottom:none}

.front-page-widget.pttm_calendar { position: relative; float:right; width:210px; margin-bottom:35px; margin-top: 0px;
border: 2px solid #1a563b; margin-right: -30px;
border-radius: 15px;
padding: 10px;
background: rgba(26, 86, 59, 0.2);}

.front-page-widget.pttm_weather { float:right; width:160px;}




/* Форматирование некоторых виджетов
-------------------------------------------------------------- */

/* Погодная воровалка */
.pttm_weather .widget-title{ margin-bottom:14px; text-align:center }
.pttm_weather .widget-title a{  font-size:18px; }

.pttm_weather table{ width:100%}
.pttm_weather tr{ padding:0; margin:0; border-bottom:1px dotted #ccc }
.pttm_weather td{ padding:6px; line-height:1.3em }
.pttm_weather td.w-day {width:20px; padding-left:0; vertical-align:top; }
.pttm_weather td.w-temp {width:75px; padding-right:0; vertical-align:top; text-align:right }
.pttm_weather td.w-ico {padding:6px; text-align:center }
.pttm_weather td.w-ico > img{ width: auto }
	
/* РСС и прочая пое..бень */
.widget-area .widget ul ul {}

.widget_rss li {}
.widget_recent_entries .post-date,
.widget_rss .rss-date {}

/* Календарик */
#wp-calendar {
	margin: 0;
	width: 100%;
}

#wp-calendar caption {color:rgb(22, 63, 15); font-size:18px; text-align:center; padding-bottom:6px;}
#wp-calendar th { color:#aaa;  border-bottom:1px dotted #ccc }
#wp-calendar th, #wp-calendar td { text-align: center; padding:3px 0; }
#wp-calendar #prev { text-align: left; }
#wp-calendar #next {}
#today {background: #e5e5e5; border: 1px solid rgb(22, 63, 15);}

/* Поиск */
.widget_search label { display: block; }

/* Кнопка входа в систему */
#enter-button { text-align:center; margin:48px 0}
#enter-button a {
	margin:0 auto; padding: 24px 48px;
	
	font-size:26px;

	background:#f0f0f0;
	border: 1px solid #d2d2d2;
	border-radius: 5px;
}
#enter-button a:hover {

	background: #e5e5e5;
}
#enter-button a:active {
	color:#757575
	background:#d5d5d5;
}

/* Сраный твиттер */
.widget_twitter li { list-style-type: none; }
.widget_twitter .timesince { display: block; text-align: right; }







/*
--bookmark--  Аккордеон категорий
-------------------------------------------------------------- */
.site .pttm-cat-accordion ul{ /* margin-left:48px; /*list-style:disc;*/ color:#999;}
.site .pttm-cat-accordion {margin:24px 0; padding:24px 0; border-top:1px dotted #ccc; border-bottom:1px dotted #ccc }
.site .pttm-cat-accordion h1{ margin-bottom:14px; font-size:22px;}
.site .pttm-cat-accordion ul > li{ margin-left:24px;}

a.parent{ text-decoration:none; color:#333}

/*.accordion li div + a{border:0px solid #f00; min-height:25px}*/
/* Буллиты с плюсиком */
.pttm-cat-accordion li div{ float:left; margin:7px 0 0 -18px; width:17px; height:17px; background: url(../terra-sp/img/btn-plus.png) no-repeat #c6dcf0; border-radius:3px; cursor:pointer}
.pttm-cat-accordion li div:hover, .pttm-cat-accordion li:hover div{background-color:#76b8eb}
.pttm-cat-accordion li div.open{background-position: left bottom;}
.pttm-cat-accordion li div.close{background-position: left top;}
.pttm-cat-accordion li a{ display:block; padding:7px 12px; outline:none}


/* Слайдёры. Один слайд.
-------------------------------------------------------------- */
/*
.ptop-prev{}
.ptop-next{}
.ptop-prev:hover, .ptop-next:hover{}

.ptop-auto{}
.ptop-auto:hover{}
.ptop-auto.ptop-play{}
.ptop-auto.ptop-pause{}
.ptop-disable{}

.ptop-slide-picker{}
.ptop-slide-picker div{}
.ptop-slide-picker div.ptop-slide-picked {}
*/


/* Кастом для разных экземпляров */
/*
--bookmark--  Главный слайдер
*/
#main-slider { width:920px; margin:0 auto 24px}
#main-slider .ptop-slides-wrap { height:300px;}
#main-slider .ptop-slider-nav{width:60px; height:300px;}
#main-slider .ptop-prev{ left:-40px; background:url(../terra-sp/img/slider-arrows-left.png) -168px center no-repeat; }
#main-slider .ptop-next{ right:-40px; background:url(../terra-sp/img/slider-arrows-right.png) 30px center no-repeat; }
#main-slider .ptop-prev:hover{ background-position:-366px center;}
#main-slider .ptop-next:hover{ background-position:-168px center;}

#main-slider .ptop-auto{background: url(../terra-sp/img/btn-pause.png) no-repeat #c6dcf0; border-radius:3px; cursor:pointer}
#main-slider .ptop-auto:hover{background-color:#76b8eb}
#main-slider .ptop-auto.ptop-play{ background-position: left bottom;}
#main-slider .ptop-auto.ptop-pause{ background-position: left top;}

#main-slider .ptop-slide-picker{border:1px solid #ddd; background:none; border-radius:7px; width:78px; padding:0 5px; margin:10px auto}
#main-slider .ptop-slide-picker div{ width:12px; height:12px; margin:7px; float:left; background:url(../terra-sp/img/bullet-24.png) left top no-repeat;}
#main-slider .ptop-slide-picker div.ptop-slide-picked { background-position: right top;}


/* Слайдёры. Горизонтальная каруселька.
-------------------------------------------------------------- */
/*
.ptmp-prev{ left:-40px;  background:url(../terra-sp/img/slider-arrows-left.png) -168px center no-repeat;}
.ptmp-next{ right:-40px; background:url(../terra-sp/img/slider-arrows-right.png) 30px center no-repeat; }
.ptmp-prev:hover{ background-position:-366px center;}
.ptmp-next:hover{ background-position:-168px center;}
*/


/* Кастом для разных экземпляров */
/* Блок новостей */
#news-block { width:920px; margin:0 auto 24px}
#news-block h1{ margin:0 0 14px -14px; font-size:22px; font-weight:normal;}
#news-block .ptmp-slider-nav {top:20px}

#news-block li{margin:0; padding:0 10px; float:left;}
#news-block li div{ width:260px; margin:0 auto;}
#news-block li img{ width:252px; height:auto; margin:7px 0 14px; border:4px solid #fff; box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);}
#news-block li h2{ font-size:18px; } 
#news-block li p{}

/* Меню по 8-ФЗ (Шарики) */
#menu-ad-main, #menu-sd-main { width:920px; margin:0 auto 24px; border: 2px solid rgb(25, 150, 65);
	background: rgb(233, 233, 233);
	border-radius: 15px;
	box-shadow: 3px 3px 15px rgba(0,0,0,0.7);}

/* Индивидуальные фончики */
/*#menu-8-fz li {margin:0; padding:0 5px; float:left; text-align:center;}*/
#menu-ad-main li.slide-1 a, #menu-sd-main li.slide-1 a{background:url(./img/1.png) center top no-repeat;}
#menu-ad-main li.slide-2 a, #menu-sd-main li.slide-2 a{background:url(./img/2.png) center top no-repeat;}
#menu-ad-main li.slide-3 a, #menu-sd-main li.slide-3 a{background:url(./img/3.png) center top no-repeat;}
#menu-ad-main li.slide-4 a{background:url(./img/4.png) center top no-repeat;}
#menu-ad-main li.slide-5 a{background:url(./img/5.png) center top no-repeat;}
#menu-ad-main li.slide-6 a{background:url(./img/6.png) center top no-repeat;}
#menu-ad-main li.slide-7 a{background:url(./img/7.png) center top no-repeat;}
#menu-ad-main li.slide-8 a{background:url(./img/8.png) center top no-repeat;}
#menu-ad-main li.slide-9 a{background:url(./img/9.png) center top no-repeat;}
#menu-ad-main li.slide-10 a{background:url(./img/10.png) center top no-repeat;}

#menu-ad-main li.slide-1 a:hover, #menu-sd-main li.slide-1 a:hover {opacity: 0.6; filter: alpha(opacity=60);}
#menu-ad-main li.slide-2 a:hover, #menu-sd-main li.slide-2 a:hover {opacity: 0.6; filter: alpha(opacity=60);}
#menu-ad-main li.slide-3 a:hover, #menu-sd-main li.slide-3 a:hover {opacity: 0.6; filter: alpha(opacity=60);}
#menu-ad-main li.slide-4 a:hover {opacity: 0.6; filter: alpha(opacity=60);}
#menu-ad-main li.slide-5 a:hover {opacity: 0.6; filter: alpha(opacity=60);}
#menu-ad-main li.slide-6 a:hover {opacity: 0.6; filter: alpha(opacity=60);}
#menu-ad-main li.slide-7 a:hover {opacity: 0.6; filter: alpha(opacity=60);}
#menu-ad-main li.slide-8 a:hover {opacity: 0.6; filter: alpha(opacity=60);}
#menu-ad-main li.slide-9 a:hover {opacity: 0.6; filter: alpha(opacity=60);}
#menu-ad-main li.slide-10 a:hover {opacity: 0.6; filter: alpha(opacity=60);}

#menu-ad-main a, #menu-sd-main a {
  	text-align: center;
	display:block;
	width:125px; min-height:60px; 
	padding:95px 3px 10px; margin:0 auto;
	font-size: 12px;
	line-height:1.3em;
	text-decoration:none;
	font-weight: normal;
	color: #7c7c7c;
}
body #secondary #menu-ad-main li.menu-item a:hover,
body #secondary #menu-sd-main li.menu-item a:hover{ color:#111; background-color:#f0f0f0}



/* Меню по 131-ФЗ (Блоки кнопок)
-------------------------------------------------------------- */
div[id*=menu-ad-].pttm_nav_menu_widget,
div[id*=menu-sd-].pttm_nav_menu_widget,
div[id*=menu-ko-].pttm_nav_menu_widget {
	margin:0; padding:0; list-style: none; width:220px;
	float:left; border: 0px solid #f00; 
}
/* Кнопочки */
div[id*=menu-ad-].pttm_nav_menu_widget a,
div[id*=menu-sd-].pttm_nav_menu_widget a,
div[id*=menu-ko-].pttm_nav_menu_widget a {
	display:block; width: 200px;
	height:68px;
	margin:6px 5px;

	overflow: hidden;
  	padding: 13px 10px 2px;
  /*	padding: 4px 8px; */
	font-size: 12px;
	text-decoration:none;
	font-weight: normal;
	margin-top: -4px;
	background: url(./img/inf-but2.png) 0 0 no-repeat;
  	color: #fff;
	
/*	border: 1px solid #d2d2d2;
	border-radius: 3px;*/
}
div[class*=menu-ad-].pttm_nav_menu_widget ul li,
div[class*=menu-sd-].pttm_nav_menu_widget ul li,
div[class*=menu-ko-].pttm_nav_menu_widget ul li {
  /*width: 230px;*/
}
div[id*=menu-ad-].pttm_nav_menu_widget a:hover,
div[id*=menu-sd-].pttm_nav_menu_widget a:hover,
div[id*=menu-ko-].pttm_nav_menu_widget a:hover {
	background: url(./img/inf-but2.png) 0 -80px no-repeat;
}
div[id*=menu-ad-].pttm_nav_menu_widget a:active,
div[id*=menu-sd-].pttm_nav_menu_widget a:active,
div[id*=menu-ko-].pttm_nav_menu_widget a:active {
	color: #757575;
	background: url(./img/inf-but2.png) 0 -80px no-repeat;
}

#menu-ad-1,
#menu-sd-1,
#menu-ad-1 {margin-left: 38px;}
.home #menu-ad-1 {margin-left: -48px;}
/*
#menu-131-fz {
	line-height:1em;
	margin-bottom:24px;
}
#menu-131-fz ul{
	margin:0; padding:0; list-style: none;
	width:25%; float:left; border: 0px solid #f00;
}
#menu-131-fz a {
	display:block;
	height:70px;
	margin:10px 5px;
}
*/
/* Кнопочки */
/*
#menu-131-fz a {
	padding: 4px 8px;
	font-size: 12px;
	text-decoration:none;
	font-weight: normal;

	background:#f0f0f0;
	border: 1px solid #d2d2d2;
	border-radius: 3px;
}
#menu-131-fz a:hover {
	background:#e5e5e5;
}
#menu-131-fz a:active {
	color: #757575;
	background:#d5d5d5;
}
*/

.super-clear {
 	clear: both; 
}





/* Плагины - !!! Что за хрень?!!!
----------------------------------------------- */

img#wpstats {
	display: block;
	margin: 0 auto 24px;
	margin: 0 auto 1.714285714rem;
}

#slider-news {								
	}

#pttm_enter_button-3 {
	position: absolute;
	background: url(./img/pos-but.png) 0 0 no-repeat;
	width: 189px;
	height: 80px;
	margin-left: -40px;
	float: left;
}
#pttm_enter_button-3:hover {background: url(./img/pos-but.png) 0 -83px no-repeat;}
#pttm_enter_button-3 a {
	color: #fff;
	text-decoration: none;
	float: right;
	text-align: right;
	width: 119px;
	margin-right: 18px;
	margin-top: 10px;
	}
#pttm_enter_button-4 {
	position: absolute;
	background: url(./img/pos-but.png) 0 0 no-repeat;
	width: 189px;
	height: 80px;
	margin-left: -40px;
	float: left;
  	margin-top: 89px;
}
#pttm_enter_button-4:hover {background: url(./img/pos-but.png) 0 -83px no-repeat;}
#pttm_enter_button-4 a {
	color: #fff;
	text-decoration: none;
	float: right;
	text-align: right;
	width: 119px;
	margin-right: 18px;
	margin-top: 10px;
	}
#pttm_enter_button-5 {
	position: absolute;
	background: url(./img/pos-but.png) 0 0 no-repeat;
	width: 189px;
	height: 80px;
	margin-left: -40px;
	float: left;
  	margin-top: 179px;
	}
#pttm_enter_button-5:hover {background: url(./img/pos-but.png) 0 -83px no-repeat;}
#pttm_enter_button-5 a {
	color: #fff;
	text-decoration: none;
	float: right;
	text-align: right;
	width: 119px;
	margin-right: 18px;
	margin-top: 10px;
	}

div.pttm-twirl-prev { left:-47px; width: 30px;  background:url(./img/left.png) 0 50% no-repeat;}
div.pttm-twirl-prev:hover { left:-47px;  width: 30px; background:url(./img/left.png) -30px 50% no-repeat;}
div.pttm-twirl-next { right:-47px; width: 30px;  background:url(./img/right.png) 0 50% no-repeat;}
div.pttm-twirl-next:hover { right:-47px;  width: 30px; background:url(./img/right.png) -30px 50% no-repeat;}

#pttm_text-2 {position: relative;
width: 160px;
float: right;
margin-top: -610px;
right: -40px;}

#blog {position: absolute;
	margin-left: 839px;
  	margin-top: -272px;}


/* 
--bookmark-- Баннеры
----------------------------------------------- */
#info-banners{
  width: 680px;
  padding:10px 15px 20px; margin:0 0 24px -20px;
  border: 2px solid #1a563b;
  border-radius: 15px; -webkit-border-radius: 15px; -moz-border-radius: 15px;
  text-align:center;
  float:left;
}

#info-banners .widget-title{
  padding-left:8px; margin-bottom:12px;
  color:#1a563b;
  font-family: Helvetica, Arial, sans-serif;
  font-size:18px;
  border-bottom:2px solid #428a6a;
  text-align:left;
}
#info-banners div.info-banner{display:inline-block; padding:3px; margin:3px; border:2px solid #fff; border-radius:3px}
#info-banners div.info-banner:hover{border:2px solid #0c663e; /*background: #cff5e4*/}
#info-banners a{ display:block; margin:0; padding:0; height:70px; }
#info-banners img{opacity:0.9; width:210px; height:auto}
#info-banners img:hover{opacity:1}

#rospotreb_rus_1 img{ border-bottom:14px solid #fff; border-top:8px solid #fff; }
#vrfsk_1 img{ height:70px; width:auto; margin:0 24px; }



#polls-widget-2{
  width: 230px; height:476px;
  padding:10px 10px 10px; margin:0 0 24px -20px;
  border: 2px solid #1a563b;
  border-radius: 15px; -webkit-border-radius: 15px; -moz-border-radius: 15px;
  text-align:center;
  float:right;
  font-size:14px;
}
#polls-widget-2 .widget-title{
  padding-left:8px; margin-bottom:12px;
  color:#1a563b;
  font-family: Helvetica, Arial, sans-serif;
  font-size:18px;
  border-bottom:2px solid #428a6a;
  text-align:left;
}
#polls-widget-2 p{ margin-bottom:7px }

#polls-widget-2 .wp-polls-ques ul input{ margin:5px 12px 0 -14px; float:left}
#polls-widget-2 .wp-polls-ques ul { font-size:12px; margin:20px 10px 24px 20px; }
#polls-widget-2 .wp-polls-ques ul li{ margin-bottom:14px; }

#polls-widget-2 .wp-polls-ans ul input{ }
#polls-widget-2 .wp-polls-ans ul { font-size:12px; margin:18px 0 24px; }
#polls-widget-2 .wp-polls-ans ul li{ margin-bottom:8px; }



/*
#pttm_text-4 {position: relative; float:left; width: 720px; height:300px; border: 2px solid #1a563b; border-radius: 15px; -webkit-border-radius: 15px; -moz-border-radius: 15px; left: -40px; }
#polza-title {font: 21px Calibri; color: #1a563b; padding-left: 15px; padding-top: 10px; border-bottom: 1px solid #1a563b; margin-left: 11px; margin-right: 11px; }

#pttm_text-5 {width: 295px; height:240px; border: 2px solid #1a563b; border-radius: 15px; -webkit-border-radius: 15px; -moz-border-radius: 15px; margin-left: 700px; }
#progs-title {font: 21px Calibri; color: #1a563b; text-align: center; padding-top: 10px; border-bottom: 1px solid #1a563b; margin-left: 11px; margin-right: 11px; }
*/

#slider {position: absolute; margin-top: 84px; margin-left: -24px;}

#vert-slide {float: right; margin-bottom: 15px; margin-right: -40px;}
#vert-slide .pttm-thumb {width: 610px; height: 260px; position: relative; }
#vert-slide .pttm-thumb .slide-link { padding-left: 15px; background: none;}
#vert-slide .pttm-thumb h2.current { background: url(./img/arrow.png) left center no-repeat; }
#vert-slide .pttm-thumb .slide-link a {height: 70px; border-left: 1px solid #fff; border-bottom: 1px solid #fff;
							  color: #000; text-decoration: none; background: url(./img/but-slider.png) 0 -90px repeat-x; overflow:hidden}
#vert-slide .pttm-thumb .slide-link-all {border-left: 1px solid #fff; background: url(./img/but-slider.png) 0 -160px repeat-x; width: 240px; z-index: 11; text-align: right; color: #000;}
#vert-slide .pttm-thumb .slide-link-all:hover {color: red;}
#vert-slide .pttm-thumb .slide-img {height: 260px; }
#vert-slide .pttm-thumb h2.current a {background: url(img/but-slider.png) 0 0 repeat-x; }


div#pttm_post-2 {
width: 222px;
height: 236px;
float: right;
position: relative;
z-index: 101;
overflow: hidden;
padding: 10px;
background: #fff;
text-align: center;
margin-right: -12px;
border: 2px solid #366f48;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
box-shadow: 0 0px 6px rgba(100, 100, 100, 0.3);
}

div#pttm_post-2 img {
width: 140px;
border: none;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
  box-shadow: none;}

#pttm_twirl_ngg-2 { position: relative; float: left; border: 8px solid rgb(24, 102, 49);
padding: 5px; width: 690px; margin-top: 24px; border-radius: 15px; box-shadow: 3px 3px 15px rgba(0,0,0,0.7); }


div.pttm-twirl-slides li slide-1 {float: left; width: 160px; }

div#menu-ad-5.widget.front-page-widget.pttm_nav_menu_widget {width: 100%; text-align: center; margin:15px 0px 0;}
#menu-ad-5 li {display: inline-block; width: 230px; vertical-align: top; padding:0; margin:0 0 5px; }
div.pttm_nav_menu_widget#menu-ad-5 li a{ display:table-cell; vertical-align:middle; padding:0 10px;  width:200px; height:80px; }


/*
#menu-ad-1 {margin-left: 36px; }
#menu-ad-2 {margin-left: 36px; }
#menu-ad-3 {margin-left: 36px; }
*/
#fill-appeals-form, #plugin-pttm-appeals-form-send_appeal, #view-appeals-comments {font-weight: bold; text-decoration: none;
color: #ddd;
text-align: center;
width: 200px;
font-size: 16px;
padding: 6px 20px 6px;
display: block;
border: 3px solid rgb(102, 221, 131);
background: rgb(32, 122, 79);
border-radius: 5px;
-moz-border-radius: 5px;
  -webkit-border-radius: 5px;}

#plugin-pttm-appeals-form-send_appeal { font-weight: normal; }
#fill-appeals-form:hover, #plugin-pttm-appeals-form-send_appeal:hover, #view-appeals-comments:hover { color: #fff;
  background: url(img/grad-obr.png) repeat-x top;
}
#plugin-pttm-appeals-form-files {padding: 0;}

#view-appeals-comments {font-size: 15px; margin-left: 300px; margin-top: -38px;}



#prezident-ukaz-596-606-NGR a{
  display:block; width:960px; height:70px;
  margin:10px auto 24px;
  background:url(img/banners/prezident-ukaz-596-606-NGR.png) center top no-repeat;
  clear:bocth; opacity:0.95;
  text-decoration:none
}
#prezident-ukaz-596-606-NGR a:hover{ opacity:1 }


.site-header, #menu-and-message{ position:relative; }
#page-header{ position:relative; }
#selibrity{ display:none; border:0px solid #f00; background:url(img/selibrity/new-year.png) left top no-repeat; position:absolute; top:-12px; left:-40px; width:110px; height:158px; }